package com.test.testcases;

import com.test.base.InitAppium;
import com.test.base.LoginApp;
import com.test.pages.HomePage;
import com.test.pages.LoginPage;
import org.testng.annotations.Test;

/**
 * Created by xuedonglei on 2017/4/28.
 */
public class LoginTestCase extends InitAppium{

    //正确账号，正确密码登录
    @Test
    public void usingTheCorrectPassword(){
        LoginApp.login("chen@qq.com","123456");
    }

    //正确账号，空密码登录
    @Test
    public void emptyPassword(){
        LoginApp.login("chen@qq.com","");
    }

    //不输入任何直接点击登录
    @Test
    public void donTEnterDirectlyClickLogIn(){
        LoginApp.login("","");
    }

    //错误的密码登录
    @Test
    public void wrongPasswordToLogin(){
        LoginApp.login("chen@qq.com","12345");
    }



}
